package com.bigzero.workflow.modules.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bigzero.workflow.modules.system.dao.DeptDao;
import com.bigzero.workflow.modules.system.entity.DeptEntity;
import com.bigzero.workflow.modules.system.query.DeptQuery;
import com.bigzero.workflow.modules.system.service.DeptService;
import com.bigzero.workflow.modules.system.vo.DeptVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 部门service实现
 *
 * @author fanxinxiong
 * @email 896934834@qq.com
 * @date 2025-02-08 17:27:47
 */
@Service("deptService")
public class DeptServiceImpl extends ServiceImpl<DeptDao, DeptEntity> implements DeptService{

    /**
     * 部门分页列表
     *
     * @param query 分页参数
     * @return 列表
     */
    @Override
    public List<DeptVo> queryPage(DeptQuery query) {
        return baseMapper.queryPage(query);
    }
}
